Re: [NTG-context] weird interaction in linenotes command (again)

2013-07-18 Thread Wolfgang Schuster
and Hans. Hans, I’m afraid that your patch fixes Wolfgang’s sample, but not mine. Many thanks for your help, New minimal example: \setuppapersize[A6] \starttext \dorecurse{10}{not original } \blank \dorecurse{10}{\startline[test:1:#1]not original\stopline[test:1:#1] } \blank \dorecurse

Re: [NTG-context] weird interaction in linenotes command (again)

2013-07-18 Thread Pablo Rodríguez
On 18/07/13 21:31, Wolfgang Schuster wrote: [...] New minimal example: [...] \dorecurse{10}{\startline[test:2:#1]not original\prewordbreak\stopline[test:2:#1] } Many thanks for your reply, Wolfgang. Now I understand what was required here and what \prewordbreak does (modifying strc

[NTG-context] link to component

2013-01-11 Thread Daniel Schopper
\chapter[knuthchap]{Knuth} \startlinenumbering \startline[knuth]\input knuth\stopline[knuth] \stoplinenumbering \page Some problem here.\pagereference[knuthpage] \stopcomponent

Re: [NTG-context] link to component

2013-01-11 Thread Daniel Schopper
appendix.tex looks like this: \startcomponent appendix \product product \chapter[knuthchap]{Knuth} \startlinenumbering \startline[knuth]\input knuth\stopline[knuth] \stoplinenumbering \page Some problem here.\pagereference[knuthpage] \stopcomponent

Re: [NTG-context] endnotes/critical apparatus

2011-05-20 Thread Daniel Schopper
\else \doglobal\newcounter\ApparatusCounter \fi \pagereference[apparatus:startpage:\ApparatusCounter]% \startline[apparatus:line:\ApparatusCounter]{#1}\stopline[apparatus:line:\ApparatusCounter]% \pagereference[apparatus:stoppage:\ApparatusCounter] \expanded

[NTG-context] endnotes/critical apparatus

2011-05-19 Thread Daniel Schopper
\entrycounter \entrycounter=0 \setuplabeltext[en][lines=,line=] \def\enseparator{\crlf} \long\def\appEntry#1#2{ \expandafter\startline[line:\the\entrycounter]% \expandafter\pagereference[page:\the\entrycounter]% {#1} \expandafter\stopline[line:\the\entrycounter

Re: [NTG-context] endnotes/critical apparatus

2011-05-19 Thread Wolfgang Schuster
later in your document. \define[2]\Apparatus {\ifdefined\ApparatusCounter \doglobal\increment\ApparatusCounter \else \doglobal\newcounter\ApparatusCounter \fi \pagereference[apparatus:page:\ApparatusCounter]% \startline[apparatus:line:\ApparatusCounter]{#1}\stopline

Re: [NTG-context] counter values as label names

2011-01-04 Thread Daniel Schopper
in the label names would be inserted by a counter: \starttext \startlinenumbering This is a sample % % wrapper macro would start here \startline[line:1]\pagereference[page:1]lemma\stopline[line:1] \footnote{\at[page:1] \inline[line:1] some comment}% % and end here . \crlf

[NTG-context] counter values as label names

2011-01-03 Thread Daniel Schopper
, style=\tfxx, align=left, distance=1.5cm, width=0.3cm] \setupfootnotes[ location=text, numberconversion=empty, paragraph=yes, ] \definenumber[entrycounter] \setnumber[entrycounter]{0} \def\appentry#1#2{% \startline[line:\getnumber

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
\appentry#1#2{% \startline[line:\getnumber[entrycounter]]% \pagereference[page:\getnumber[entrycounter]]% #1% \stopline[line:\getnumber[entrycounter]]% \footnote{{\bf \at[page:\getnumber[entrycounter]]}% \inline[line:\getnumber[entrycounter]] #1] #2

Re: [NTG-context] counter values as label names

2011-01-03 Thread Daniel Schopper
=empty, paragraph=, ] \newcount\entrycounter \entrycounter=0 \def\appentry#1#2{% \startline[line:\the\entrycounter]% \pagereference[page:\the\entrycounter]% #1% \stopline[line:\the\entrycounter]% \footnote{{\bf \at[page:\the\entrycounter]} \inline[line

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
On Jan 3, 2011, at 7:09 PM, Daniel Schopper wrote: \setupfootnotes[ location=text, numberconversion=empty, paragraph=, ] \newcount\entrycounter \entrycounter=0 \def\appentry#1#2{% \startline[line:\the\entrycounter]% \pagereference[page

Re: [NTG-context] counter values as label names

2011-01-03 Thread Aditya Mahajan
[ location=text, numberconversion=empty, paragraph=, ] \newcount\entrycounter \entrycounter=0 \def\appentry#1#2{% \startline[line:\the\entrycounter]% \pagereference[page:\the\entrycounter]% #1% \stopline[line:\the\entrycounter]% \footnote{{\bf

Re: [NTG-context] Referencing line numbers inside a typing

2010-10-27 Thread Stefan Müller
] and also lines~\inlinerange[line:range]. \starttyping line 1 line 2/BTEX\startline[line:range]/ETEX line 3/BTEX\someline[line:single]/ETEX line 4 line 5/BTEX\stopline[line:range]/ETEX line 6 \stoptyping \stoptext Wolfgang Thanks Wolgang, this looks pretty nice. Unfortunately I get

Re: [NTG-context] Referencing line numbers inside a typing

2010-10-27 Thread Stefan Müller
://wiki.contextgarden.net/Reference/en/startline http://wiki.contextgarden.net/Reference/en/inlinerange I hope that helps others. Best wishes, Stefan ___ If your question is of interest to others as well, please add

Re: [NTG-context] Referencing line numbers inside a typing

2010-10-26 Thread Wolfgang Schuster
\startline[line:range]/ETEX line 3/BTEX\someline[line:single]/ETEX line 4 line 5/BTEX\stopline[line:range]/ETEX line 6 \stoptyping \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Indent after \startline[… ]

2009-12-16 Thread Andreas Harder
Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace} \startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer \starttext \showframe \getbuffer

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Wolfgang Schuster
Am 16.12.2009 um 11:43 schrieb Andreas Harder: Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace} \startbuffer \dorecurse{3}{\dorecurse{10}{some text

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Andreas Harder
Am 16.12.2009 um 18:40 schrieb Wolfgang Schuster: Am 16.12.2009 um 11:43 schrieb Andreas Harder: Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace

[NTG-context] Error with \inline[…]

2009-10-29 Thread Andreas Harder
Hello Hans. With the current beta referencing lines is broken again. It used to work yesterday. Here is a test file and the error message: \starttext \startlinenumbering \input tufte \someline[lin:b] \startline[lin:a] \input tufte \stopline[lin:a] \stoplinenumbering \inline[lin:b

Re: [NTG-context] \starbuffer in own macros

2009-10-18 Thread Wolfgang Schuster
{\currentreferencedefault}% was \currentreferencetext \ifx\fline\tline#2\else#3\fi} {\unknownreference{#1}#2}} {\unknownreference{#1}#2}} \def\startMyCite[#1]% {\def\stopMyCite {\setuplines[before=,after=]% \startlines\startline[#1]\getbuffer[#1]\stopline[#1

Re: [NTG-context] Line Numbering and References

2009-10-14 Thread Wolfgang Schuster
or perceived why they were important. But a system \startline[range] cannot be successful if it is too strongly influenced by a single person. Once the initial design is complete and fairly robust, the real test begins as people with many different \stopline [range] viewpoints undertake their own

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\startline[reference] \stopline \startlinecorrection \stoplinecorrection \startlinenumbering[continue] \stoplinenumbering \startlines \stoplines \startlocal \stoplocal \startlocalenvironment \stoplocalenvironment \startlocalfootnotes \stoplocalfootnotes # \startlocalsetups \stoplocalsetups

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Maurice Diamantini
setup (m-bib has changed, ...) I could try your code and... *** it does exactly what I need ! *** Thank you very much ! Just a question. As you keep calling this environment \startline I suppose it is intended to be a standard option for \startline (which is a great news as I think it is quite

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Hans Hagen
Maurice Diamantini wrote: Le 26 déc. 04, à 21:57, h h extern a écrit : Christmas present ... Would it not be a better idea to provide another environnement name to avoid conflict with the future standard startline environment? I tried to rename startlines to startLines with other hack